<?php
$db['whyshopseckill_goods']=array (
  'columns' => 
  array (
      'whyshopseckill_goods_id' => 
    array (
      'type' => 'int unsigned',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'editable' => false,
      'comment' => app::get('whyshopseckill_goods')->_('秒杀明细ID'),
    ),

    'seckill_goods_id' => 
    array (
      'type' => 'int unsigned',
      'required' => true,
      'editable' => false,
      'comment' => app::get('seckill_goods')->_('商品ID'),
    ),

        'whyshopseckill_id' => 
    array (
      'type' => 'int unsigned',
      'required' => true,
      'editable' => false,
      'comment' => app::get('whyshopseckill')->_('秒杀时间段ID'),
    ),

     'seckill_price' =>
    array (
      'type' => 'money',
      'default' => '0',
      'comment' => app::get('whyshopseckill_goods')->_('秒杀价格'),
      'label' => app::get('whyshopseckill_goods')->_('秒杀价格'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
            'searchtype' => 'has',
            'filtertype' => 'normal',
      'filterdefault' => true,
    ),
    'seckill_total' =>
    array (
      'type' => 'number',
      'default' => '0',
      'comment' => app::get('whyshopseckill_goods')->_('商品总量'),
      'label' => app::get('whyshopseckill_goods')->_('商品总量'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
            'searchtype' => 'has',
            'filtertype' => 'normal',
      'filterdefault' => true,
    ),
    'seckill_limit' =>
    array (
      'type' => 'number',
      'default' => '0',
      'comment' => app::get('whyshopseckill_goods')->_('限购数量'),
      'label' => app::get('whyshopseckill_goods')->_('限购数量'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
            'searchtype' => 'has',
            'filtertype' => 'normal',
      'filterdefault' => true,
    ),
   'seckill_virtual_count' =>
    array (
        'type' => 'number',
        'default' => '0',
        'comment' => app::get('whyshopseckill_goods')->_('初始销量'),
        'label' => app::get('whyshopseckill_goods')->_('初始销量'),
        'editable' => true,
        'in_list' => true,
        'default_in_list' => true,
        'searchtype' => 'has',
        'filtertype' => 'normal',
        'filterdefault' => true,
    ),

  ),
  'version' => '$Rev: 40654 $',
  'comment' => app::get('whyshopseckill_goods')->_('活动页表'),
);
